package com.sikaryofficial.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sikaryofficial.backend.domain.dto.resp.productactivity.ActivityDTO;
import com.sikaryofficial.backend.domain.entity.ActivityResult;
import com.sikaryofficial.backend.domain.vo.UserMonthlyWinVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 活动结果Mapper接口
 *
 * @author qinjinyuan
 * @date 2023-11-02
 */
public interface ActivityResultMapper extends BaseMapper<ActivityResult> {
    List<ActivityDTO> getPurchaseCountList(@Param("activityIds") List<Long> activityIds);
    List<UserMonthlyWinVO> getUserMonthlyWinList();
}
